package org.xhy.sniffer.plugins.mysql.interceptor;

import lombok.extern.slf4j.Slf4j;
import org.xhy.sniffer.interceptor.enhance.StaticMethodsAroundInterceptor;

import java.lang.reflect.Method;

@Slf4j
public class MySQLConnectionInterceptor implements StaticMethodsAroundInterceptor {


    @Override
    public void beforeMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes) {

    }

    @Override
    public Object afterMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, Object ret) {

        return ret;
    }

    @Override
    public void handleEx(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, Throwable t) {

    }
}
